package com.fable.dal.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TotalHomeDataQuery {
    /**
     * order by clause.
     */
    protected String orderByClause;

    /**
     * distinct
     */
    protected boolean distinct;

    /**
     * criteria list
     */
    protected List<Criteria> oredCriteria;

    /**
     * page
     */
    protected Integer pageOffset;

    /**
     * page size
     */
    protected Integer pageSize;

    public TotalHomeDataQuery() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public boolean isValid() {
        for (int i = 0; i < oredCriteria.size(); i++) {
            if (oredCriteria.get(i).isValid()) {
                return true;
            }
        }
        return false;
    }

    public void setPageOffset(Integer pageOffset) {
        this.pageOffset = pageOffset;
    }

    public Integer getPageOffset() {
        return pageOffset;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }
        /**

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }


                public Criteria andGmtCreateIsNull() {
                    addCriterion("gmt_create is null");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateIsNotNull() {
                    addCriterion("gmt_create is not null");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateEqualTo(Date value) {
                    addCriterion("gmt_create =", value, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateNotEqualTo(Date value) {
                    addCriterion("gmt_create <>", value, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateGreaterThan(Date value) {
                    addCriterion("gmt_create >", value, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateGreaterThanOrEqualTo(Date value) {
                    addCriterion("gmt_create >=", value, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateLessThan(Date value) {
                    addCriterion("gmt_create <", value, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateLessThanOrEqualTo(Date value) {
                    addCriterion("gmt_create <=", value, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateIn(List<Date> values) {
                    addCriterion("gmt_create in", values, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateNotIn(List<Date> values) {
                    addCriterion("gmt_create not in", values, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateBetween(Date value1, Date value2) {
                    addCriterion("gmt_create between", value1, value2, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateNotBetween(Date value1, Date value2) {
                    addCriterion("gmt_create not between", value1, value2, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedIsNull() {
                    addCriterion("gmt_modified is null");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedIsNotNull() {
                    addCriterion("gmt_modified is not null");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedEqualTo(Date value) {
                    addCriterion("gmt_modified =", value, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedNotEqualTo(Date value) {
                    addCriterion("gmt_modified <>", value, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedGreaterThan(Date value) {
                    addCriterion("gmt_modified >", value, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedGreaterThanOrEqualTo(Date value) {
                    addCriterion("gmt_modified >=", value, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedLessThan(Date value) {
                    addCriterion("gmt_modified <", value, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedLessThanOrEqualTo(Date value) {
                    addCriterion("gmt_modified <=", value, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedIn(List<Date> values) {
                    addCriterion("gmt_modified in", values, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedNotIn(List<Date> values) {
                    addCriterion("gmt_modified not in", values, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedBetween(Date value1, Date value2) {
                    addCriterion("gmt_modified between", value1, value2, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedNotBetween(Date value1, Date value2) {
                    addCriterion("gmt_modified not between", value1, value2, "gmtModified");
                    return (Criteria) this;
                }
                 **/

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(Long value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(Long value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andLogDateIsNull() {
            addCriterion("log_date is null");
            return (Criteria) this;
        }

        public Criteria andLogDateIsNotNull() {
            addCriterion("log_date is not null");
            return (Criteria) this;
        }

        public Criteria andLogDateEqualTo(Date value) {
            addCriterion("log_date =", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateNotEqualTo(Date value) {
            addCriterion("log_date <>", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateGreaterThan(Date value) {
            addCriterion("log_date >", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateGreaterThanOrEqualTo(Date value) {
            addCriterion("log_date >=", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateLessThan(Date value) {
            addCriterion("log_date <", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateLessThanOrEqualTo(Date value) {
            addCriterion("log_date <=", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateLike(Date value) {
            addCriterion("log_date like", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateNotLike(Date value) {
            addCriterion("log_date not like", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateIn(List<Date> values) {
            addCriterion("log_date in", values, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateNotIn(List<Date> values) {
            addCriterion("log_date not in", values, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateBetween(Date value1, Date value2) {
            addCriterion("log_date between", value1, value2, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateNotBetween(Date value1, Date value2) {
            addCriterion("log_date not between", value1, value2, "logDate");
            return (Criteria) this;
        }

        public Criteria andWebsiteIsNull() {
            addCriterion("website is null");
            return (Criteria) this;
        }

        public Criteria andWebsiteIsNotNull() {
            addCriterion("website is not null");
            return (Criteria) this;
        }

        public Criteria andWebsiteEqualTo(String value) {
            addCriterion("website =", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteNotEqualTo(String value) {
            addCriterion("website <>", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteGreaterThan(String value) {
            addCriterion("website >", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteGreaterThanOrEqualTo(String value) {
            addCriterion("website >=", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteLessThan(String value) {
            addCriterion("website <", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteLessThanOrEqualTo(String value) {
            addCriterion("website <=", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteLike(String value) {
            addCriterion("website like", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteNotLike(String value) {
            addCriterion("website not like", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteIn(List<String> values) {
            addCriterion("website in", values, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteNotIn(List<String> values) {
            addCriterion("website not in", values, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteBetween(String value1, String value2) {
            addCriterion("website between", value1, value2, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteNotBetween(String value1, String value2) {
            addCriterion("website not between", value1, value2, "website");
            return (Criteria) this;
        }

        public Criteria andPortIsNull() {
            addCriterion("port is null");
            return (Criteria) this;
        }

        public Criteria andPortIsNotNull() {
            addCriterion("port is not null");
            return (Criteria) this;
        }

        public Criteria andPortEqualTo(String value) {
            addCriterion("port =", value, "port");
            return (Criteria) this;
        }

        public Criteria andPortNotEqualTo(String value) {
            addCriterion("port <>", value, "port");
            return (Criteria) this;
        }

        public Criteria andPortGreaterThan(String value) {
            addCriterion("port >", value, "port");
            return (Criteria) this;
        }

        public Criteria andPortGreaterThanOrEqualTo(String value) {
            addCriterion("port >=", value, "port");
            return (Criteria) this;
        }

        public Criteria andPortLessThan(String value) {
            addCriterion("port <", value, "port");
            return (Criteria) this;
        }

        public Criteria andPortLessThanOrEqualTo(String value) {
            addCriterion("port <=", value, "port");
            return (Criteria) this;
        }

        public Criteria andPortLike(String value) {
            addCriterion("port like", value, "port");
            return (Criteria) this;
        }

        public Criteria andPortNotLike(String value) {
            addCriterion("port not like", value, "port");
            return (Criteria) this;
        }

        public Criteria andPortIn(List<String> values) {
            addCriterion("port in", values, "port");
            return (Criteria) this;
        }

        public Criteria andPortNotIn(List<String> values) {
            addCriterion("port not in", values, "port");
            return (Criteria) this;
        }

        public Criteria andPortBetween(String value1, String value2) {
            addCriterion("port between", value1, value2, "port");
            return (Criteria) this;
        }

        public Criteria andPortNotBetween(String value1, String value2) {
            addCriterion("port not between", value1, value2, "port");
            return (Criteria) this;
        }

        public Criteria andPvIsNull() {
            addCriterion("pv is null");
            return (Criteria) this;
        }

        public Criteria andPvIsNotNull() {
            addCriterion("pv is not null");
            return (Criteria) this;
        }

        public Criteria andPvEqualTo(Long value) {
            addCriterion("pv =", value, "pv");
            return (Criteria) this;
        }

        public Criteria andPvNotEqualTo(Long value) {
            addCriterion("pv <>", value, "pv");
            return (Criteria) this;
        }

        public Criteria andPvGreaterThan(Long value) {
            addCriterion("pv >", value, "pv");
            return (Criteria) this;
        }

        public Criteria andPvGreaterThanOrEqualTo(Long value) {
            addCriterion("pv >=", value, "pv");
            return (Criteria) this;
        }

        public Criteria andPvLessThan(Long value) {
            addCriterion("pv <", value, "pv");
            return (Criteria) this;
        }

        public Criteria andPvLessThanOrEqualTo(Long value) {
            addCriterion("pv <=", value, "pv");
            return (Criteria) this;
        }

        public Criteria andPvLike(Long value) {
            addCriterion("pv like", value, "pv");
            return (Criteria) this;
        }

        public Criteria andPvNotLike(Long value) {
            addCriterion("pv not like", value, "pv");
            return (Criteria) this;
        }

        public Criteria andPvIn(List<Long> values) {
            addCriterion("pv in", values, "pv");
            return (Criteria) this;
        }

        public Criteria andPvNotIn(List<Long> values) {
            addCriterion("pv not in", values, "pv");
            return (Criteria) this;
        }

        public Criteria andPvBetween(Long value1, Long value2) {
            addCriterion("pv between", value1, value2, "pv");
            return (Criteria) this;
        }

        public Criteria andPvNotBetween(Long value1, Long value2) {
            addCriterion("pv not between", value1, value2, "pv");
            return (Criteria) this;
        }

        public Criteria andUvIsNull() {
            addCriterion("uv is null");
            return (Criteria) this;
        }

        public Criteria andUvIsNotNull() {
            addCriterion("uv is not null");
            return (Criteria) this;
        }

        public Criteria andUvEqualTo(Long value) {
            addCriterion("uv =", value, "uv");
            return (Criteria) this;
        }

        public Criteria andUvNotEqualTo(Long value) {
            addCriterion("uv <>", value, "uv");
            return (Criteria) this;
        }

        public Criteria andUvGreaterThan(Long value) {
            addCriterion("uv >", value, "uv");
            return (Criteria) this;
        }

        public Criteria andUvGreaterThanOrEqualTo(Long value) {
            addCriterion("uv >=", value, "uv");
            return (Criteria) this;
        }

        public Criteria andUvLessThan(Long value) {
            addCriterion("uv <", value, "uv");
            return (Criteria) this;
        }

        public Criteria andUvLessThanOrEqualTo(Long value) {
            addCriterion("uv <=", value, "uv");
            return (Criteria) this;
        }

        public Criteria andUvLike(Long value) {
            addCriterion("uv like", value, "uv");
            return (Criteria) this;
        }

        public Criteria andUvNotLike(Long value) {
            addCriterion("uv not like", value, "uv");
            return (Criteria) this;
        }

        public Criteria andUvIn(List<Long> values) {
            addCriterion("uv in", values, "uv");
            return (Criteria) this;
        }

        public Criteria andUvNotIn(List<Long> values) {
            addCriterion("uv not in", values, "uv");
            return (Criteria) this;
        }

        public Criteria andUvBetween(Long value1, Long value2) {
            addCriterion("uv between", value1, value2, "uv");
            return (Criteria) this;
        }

        public Criteria andUvNotBetween(Long value1, Long value2) {
            addCriterion("uv not between", value1, value2, "uv");
            return (Criteria) this;
        }

        public Criteria andClickUvIsNull() {
            addCriterion("click_uv is null");
            return (Criteria) this;
        }

        public Criteria andClickUvIsNotNull() {
            addCriterion("click_uv is not null");
            return (Criteria) this;
        }

        public Criteria andClickUvEqualTo(Long value) {
            addCriterion("click_uv =", value, "clickUv");
            return (Criteria) this;
        }

        public Criteria andClickUvNotEqualTo(Long value) {
            addCriterion("click_uv <>", value, "clickUv");
            return (Criteria) this;
        }

        public Criteria andClickUvGreaterThan(Long value) {
            addCriterion("click_uv >", value, "clickUv");
            return (Criteria) this;
        }

        public Criteria andClickUvGreaterThanOrEqualTo(Long value) {
            addCriterion("click_uv >=", value, "clickUv");
            return (Criteria) this;
        }

        public Criteria andClickUvLessThan(Long value) {
            addCriterion("click_uv <", value, "clickUv");
            return (Criteria) this;
        }

        public Criteria andClickUvLessThanOrEqualTo(Long value) {
            addCriterion("click_uv <=", value, "clickUv");
            return (Criteria) this;
        }

        public Criteria andClickUvLike(Long value) {
            addCriterion("click_uv like", value, "clickUv");
            return (Criteria) this;
        }

        public Criteria andClickUvNotLike(Long value) {
            addCriterion("click_uv not like", value, "clickUv");
            return (Criteria) this;
        }

        public Criteria andClickUvIn(List<Long> values) {
            addCriterion("click_uv in", values, "clickUv");
            return (Criteria) this;
        }

        public Criteria andClickUvNotIn(List<Long> values) {
            addCriterion("click_uv not in", values, "clickUv");
            return (Criteria) this;
        }

        public Criteria andClickUvBetween(Long value1, Long value2) {
            addCriterion("click_uv between", value1, value2, "clickUv");
            return (Criteria) this;
        }

        public Criteria andClickUvNotBetween(Long value1, Long value2) {
            addCriterion("click_uv not between", value1, value2, "clickUv");
            return (Criteria) this;
        }

        public Criteria andAvePvIsNull() {
            addCriterion("ave_pv is null");
            return (Criteria) this;
        }

        public Criteria andAvePvIsNotNull() {
            addCriterion("ave_pv is not null");
            return (Criteria) this;
        }

        public Criteria andAvePvEqualTo(java.lang.Double value) {
            addCriterion("ave_pv =", value, "avePv");
            return (Criteria) this;
        }

        public Criteria andAvePvNotEqualTo(java.lang.Double value) {
            addCriterion("ave_pv <>", value, "avePv");
            return (Criteria) this;
        }

        public Criteria andAvePvGreaterThan(java.lang.Double value) {
            addCriterion("ave_pv >", value, "avePv");
            return (Criteria) this;
        }

        public Criteria andAvePvGreaterThanOrEqualTo(java.lang.Double value) {
            addCriterion("ave_pv >=", value, "avePv");
            return (Criteria) this;
        }

        public Criteria andAvePvLessThan(java.lang.Double value) {
            addCriterion("ave_pv <", value, "avePv");
            return (Criteria) this;
        }

        public Criteria andAvePvLessThanOrEqualTo(java.lang.Double value) {
            addCriterion("ave_pv <=", value, "avePv");
            return (Criteria) this;
        }

        public Criteria andAvePvLike(java.lang.Double value) {
            addCriterion("ave_pv like", value, "avePv");
            return (Criteria) this;
        }

        public Criteria andAvePvNotLike(java.lang.Double value) {
            addCriterion("ave_pv not like", value, "avePv");
            return (Criteria) this;
        }

        public Criteria andAvePvIn(List<java.lang.Double> values) {
            addCriterion("ave_pv in", values, "avePv");
            return (Criteria) this;
        }

        public Criteria andAvePvNotIn(List<java.lang.Double> values) {
            addCriterion("ave_pv not in", values, "avePv");
            return (Criteria) this;
        }

        public Criteria andAvePvBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("ave_pv between", value1, value2, "avePv");
            return (Criteria) this;
        }

        public Criteria andAvePvNotBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("ave_pv not between", value1, value2, "avePv");
            return (Criteria) this;
        }

        public Criteria andLossRateIsNull() {
            addCriterion("loss_rate is null");
            return (Criteria) this;
        }

        public Criteria andLossRateIsNotNull() {
            addCriterion("loss_rate is not null");
            return (Criteria) this;
        }

        public Criteria andLossRateEqualTo(java.lang.Double value) {
            addCriterion("loss_rate =", value, "lossRate");
            return (Criteria) this;
        }

        public Criteria andLossRateNotEqualTo(java.lang.Double value) {
            addCriterion("loss_rate <>", value, "lossRate");
            return (Criteria) this;
        }

        public Criteria andLossRateGreaterThan(java.lang.Double value) {
            addCriterion("loss_rate >", value, "lossRate");
            return (Criteria) this;
        }

        public Criteria andLossRateGreaterThanOrEqualTo(java.lang.Double value) {
            addCriterion("loss_rate >=", value, "lossRate");
            return (Criteria) this;
        }

        public Criteria andLossRateLessThan(java.lang.Double value) {
            addCriterion("loss_rate <", value, "lossRate");
            return (Criteria) this;
        }

        public Criteria andLossRateLessThanOrEqualTo(java.lang.Double value) {
            addCriterion("loss_rate <=", value, "lossRate");
            return (Criteria) this;
        }

        public Criteria andLossRateLike(java.lang.Double value) {
            addCriterion("loss_rate like", value, "lossRate");
            return (Criteria) this;
        }

        public Criteria andLossRateNotLike(java.lang.Double value) {
            addCriterion("loss_rate not like", value, "lossRate");
            return (Criteria) this;
        }

        public Criteria andLossRateIn(List<java.lang.Double> values) {
            addCriterion("loss_rate in", values, "lossRate");
            return (Criteria) this;
        }

        public Criteria andLossRateNotIn(List<java.lang.Double> values) {
            addCriterion("loss_rate not in", values, "lossRate");
            return (Criteria) this;
        }

        public Criteria andLossRateBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("loss_rate between", value1, value2, "lossRate");
            return (Criteria) this;
        }

        public Criteria andLossRateNotBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("loss_rate not between", value1, value2, "lossRate");
            return (Criteria) this;
        }

        public Criteria andAdPvIsNull() {
            addCriterion("ad_pv is null");
            return (Criteria) this;
        }

        public Criteria andAdPvIsNotNull() {
            addCriterion("ad_pv is not null");
            return (Criteria) this;
        }

        public Criteria andAdPvEqualTo(Long value) {
            addCriterion("ad_pv =", value, "adPv");
            return (Criteria) this;
        }

        public Criteria andAdPvNotEqualTo(Long value) {
            addCriterion("ad_pv <>", value, "adPv");
            return (Criteria) this;
        }

        public Criteria andAdPvGreaterThan(Long value) {
            addCriterion("ad_pv >", value, "adPv");
            return (Criteria) this;
        }

        public Criteria andAdPvGreaterThanOrEqualTo(Long value) {
            addCriterion("ad_pv >=", value, "adPv");
            return (Criteria) this;
        }

        public Criteria andAdPvLessThan(Long value) {
            addCriterion("ad_pv <", value, "adPv");
            return (Criteria) this;
        }

        public Criteria andAdPvLessThanOrEqualTo(Long value) {
            addCriterion("ad_pv <=", value, "adPv");
            return (Criteria) this;
        }

        public Criteria andAdPvLike(Long value) {
            addCriterion("ad_pv like", value, "adPv");
            return (Criteria) this;
        }

        public Criteria andAdPvNotLike(Long value) {
            addCriterion("ad_pv not like", value, "adPv");
            return (Criteria) this;
        }

        public Criteria andAdPvIn(List<Long> values) {
            addCriterion("ad_pv in", values, "adPv");
            return (Criteria) this;
        }

        public Criteria andAdPvNotIn(List<Long> values) {
            addCriterion("ad_pv not in", values, "adPv");
            return (Criteria) this;
        }

        public Criteria andAdPvBetween(Long value1, Long value2) {
            addCriterion("ad_pv between", value1, value2, "adPv");
            return (Criteria) this;
        }

        public Criteria andAdPvNotBetween(Long value1, Long value2) {
            addCriterion("ad_pv not between", value1, value2, "adPv");
            return (Criteria) this;
        }

        public Criteria andAdUvIsNull() {
            addCriterion("ad_uv is null");
            return (Criteria) this;
        }

        public Criteria andAdUvIsNotNull() {
            addCriterion("ad_uv is not null");
            return (Criteria) this;
        }

        public Criteria andAdUvEqualTo(Long value) {
            addCriterion("ad_uv =", value, "adUv");
            return (Criteria) this;
        }

        public Criteria andAdUvNotEqualTo(Long value) {
            addCriterion("ad_uv <>", value, "adUv");
            return (Criteria) this;
        }

        public Criteria andAdUvGreaterThan(Long value) {
            addCriterion("ad_uv >", value, "adUv");
            return (Criteria) this;
        }

        public Criteria andAdUvGreaterThanOrEqualTo(Long value) {
            addCriterion("ad_uv >=", value, "adUv");
            return (Criteria) this;
        }

        public Criteria andAdUvLessThan(Long value) {
            addCriterion("ad_uv <", value, "adUv");
            return (Criteria) this;
        }

        public Criteria andAdUvLessThanOrEqualTo(Long value) {
            addCriterion("ad_uv <=", value, "adUv");
            return (Criteria) this;
        }

        public Criteria andAdUvLike(Long value) {
            addCriterion("ad_uv like", value, "adUv");
            return (Criteria) this;
        }

        public Criteria andAdUvNotLike(Long value) {
            addCriterion("ad_uv not like", value, "adUv");
            return (Criteria) this;
        }

        public Criteria andAdUvIn(List<Long> values) {
            addCriterion("ad_uv in", values, "adUv");
            return (Criteria) this;
        }

        public Criteria andAdUvNotIn(List<Long> values) {
            addCriterion("ad_uv not in", values, "adUv");
            return (Criteria) this;
        }

        public Criteria andAdUvBetween(Long value1, Long value2) {
            addCriterion("ad_uv between", value1, value2, "adUv");
            return (Criteria) this;
        }

        public Criteria andAdUvNotBetween(Long value1, Long value2) {
            addCriterion("ad_uv not between", value1, value2, "adUv");
            return (Criteria) this;
        }

        public Criteria andAdClickUvIsNull() {
            addCriterion("ad_click_uv is null");
            return (Criteria) this;
        }

        public Criteria andAdClickUvIsNotNull() {
            addCriterion("ad_click_uv is not null");
            return (Criteria) this;
        }

        public Criteria andAdClickUvEqualTo(Long value) {
            addCriterion("ad_click_uv =", value, "adClickUv");
            return (Criteria) this;
        }

        public Criteria andAdClickUvNotEqualTo(Long value) {
            addCriterion("ad_click_uv <>", value, "adClickUv");
            return (Criteria) this;
        }

        public Criteria andAdClickUvGreaterThan(Long value) {
            addCriterion("ad_click_uv >", value, "adClickUv");
            return (Criteria) this;
        }

        public Criteria andAdClickUvGreaterThanOrEqualTo(Long value) {
            addCriterion("ad_click_uv >=", value, "adClickUv");
            return (Criteria) this;
        }

        public Criteria andAdClickUvLessThan(Long value) {
            addCriterion("ad_click_uv <", value, "adClickUv");
            return (Criteria) this;
        }

        public Criteria andAdClickUvLessThanOrEqualTo(Long value) {
            addCriterion("ad_click_uv <=", value, "adClickUv");
            return (Criteria) this;
        }

        public Criteria andAdClickUvLike(Long value) {
            addCriterion("ad_click_uv like", value, "adClickUv");
            return (Criteria) this;
        }

        public Criteria andAdClickUvNotLike(Long value) {
            addCriterion("ad_click_uv not like", value, "adClickUv");
            return (Criteria) this;
        }

        public Criteria andAdClickUvIn(List<Long> values) {
            addCriterion("ad_click_uv in", values, "adClickUv");
            return (Criteria) this;
        }

        public Criteria andAdClickUvNotIn(List<Long> values) {
            addCriterion("ad_click_uv not in", values, "adClickUv");
            return (Criteria) this;
        }

        public Criteria andAdClickUvBetween(Long value1, Long value2) {
            addCriterion("ad_click_uv between", value1, value2, "adClickUv");
            return (Criteria) this;
        }

        public Criteria andAdClickUvNotBetween(Long value1, Long value2) {
            addCriterion("ad_click_uv not between", value1, value2, "adClickUv");
            return (Criteria) this;
        }

        public Criteria andAdAvePvIsNull() {
            addCriterion("ad_ave_pv is null");
            return (Criteria) this;
        }

        public Criteria andAdAvePvIsNotNull() {
            addCriterion("ad_ave_pv is not null");
            return (Criteria) this;
        }

        public Criteria andAdAvePvEqualTo(java.lang.Double value) {
            addCriterion("ad_ave_pv =", value, "adAvePv");
            return (Criteria) this;
        }

        public Criteria andAdAvePvNotEqualTo(java.lang.Double value) {
            addCriterion("ad_ave_pv <>", value, "adAvePv");
            return (Criteria) this;
        }

        public Criteria andAdAvePvGreaterThan(java.lang.Double value) {
            addCriterion("ad_ave_pv >", value, "adAvePv");
            return (Criteria) this;
        }

        public Criteria andAdAvePvGreaterThanOrEqualTo(java.lang.Double value) {
            addCriterion("ad_ave_pv >=", value, "adAvePv");
            return (Criteria) this;
        }

        public Criteria andAdAvePvLessThan(java.lang.Double value) {
            addCriterion("ad_ave_pv <", value, "adAvePv");
            return (Criteria) this;
        }

        public Criteria andAdAvePvLessThanOrEqualTo(java.lang.Double value) {
            addCriterion("ad_ave_pv <=", value, "adAvePv");
            return (Criteria) this;
        }

        public Criteria andAdAvePvLike(java.lang.Double value) {
            addCriterion("ad_ave_pv like", value, "adAvePv");
            return (Criteria) this;
        }

        public Criteria andAdAvePvNotLike(java.lang.Double value) {
            addCriterion("ad_ave_pv not like", value, "adAvePv");
            return (Criteria) this;
        }

        public Criteria andAdAvePvIn(List<java.lang.Double> values) {
            addCriterion("ad_ave_pv in", values, "adAvePv");
            return (Criteria) this;
        }

        public Criteria andAdAvePvNotIn(List<java.lang.Double> values) {
            addCriterion("ad_ave_pv not in", values, "adAvePv");
            return (Criteria) this;
        }

        public Criteria andAdAvePvBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("ad_ave_pv between", value1, value2, "adAvePv");
            return (Criteria) this;
        }

        public Criteria andAdAvePvNotBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("ad_ave_pv not between", value1, value2, "adAvePv");
            return (Criteria) this;
        }

        public Criteria andAdLossRateIsNull() {
            addCriterion("ad_loss_rate is null");
            return (Criteria) this;
        }

        public Criteria andAdLossRateIsNotNull() {
            addCriterion("ad_loss_rate is not null");
            return (Criteria) this;
        }

        public Criteria andAdLossRateEqualTo(java.lang.Double value) {
            addCriterion("ad_loss_rate =", value, "adLossRate");
            return (Criteria) this;
        }

        public Criteria andAdLossRateNotEqualTo(java.lang.Double value) {
            addCriterion("ad_loss_rate <>", value, "adLossRate");
            return (Criteria) this;
        }

        public Criteria andAdLossRateGreaterThan(java.lang.Double value) {
            addCriterion("ad_loss_rate >", value, "adLossRate");
            return (Criteria) this;
        }

        public Criteria andAdLossRateGreaterThanOrEqualTo(java.lang.Double value) {
            addCriterion("ad_loss_rate >=", value, "adLossRate");
            return (Criteria) this;
        }

        public Criteria andAdLossRateLessThan(java.lang.Double value) {
            addCriterion("ad_loss_rate <", value, "adLossRate");
            return (Criteria) this;
        }

        public Criteria andAdLossRateLessThanOrEqualTo(java.lang.Double value) {
            addCriterion("ad_loss_rate <=", value, "adLossRate");
            return (Criteria) this;
        }

        public Criteria andAdLossRateLike(java.lang.Double value) {
            addCriterion("ad_loss_rate like", value, "adLossRate");
            return (Criteria) this;
        }

        public Criteria andAdLossRateNotLike(java.lang.Double value) {
            addCriterion("ad_loss_rate not like", value, "adLossRate");
            return (Criteria) this;
        }

        public Criteria andAdLossRateIn(List<java.lang.Double> values) {
            addCriterion("ad_loss_rate in", values, "adLossRate");
            return (Criteria) this;
        }

        public Criteria andAdLossRateNotIn(List<java.lang.Double> values) {
            addCriterion("ad_loss_rate not in", values, "adLossRate");
            return (Criteria) this;
        }

        public Criteria andAdLossRateBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("ad_loss_rate between", value1, value2, "adLossRate");
            return (Criteria) this;
        }

        public Criteria andAdLossRateNotBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("ad_loss_rate not between", value1, value2, "adLossRate");
            return (Criteria) this;
        }

        public Criteria andNfPvIsNull() {
            addCriterion("nf_pv is null");
            return (Criteria) this;
        }

        public Criteria andNfPvIsNotNull() {
            addCriterion("nf_pv is not null");
            return (Criteria) this;
        }

        public Criteria andNfPvEqualTo(Long value) {
            addCriterion("nf_pv =", value, "nfPv");
            return (Criteria) this;
        }

        public Criteria andNfPvNotEqualTo(Long value) {
            addCriterion("nf_pv <>", value, "nfPv");
            return (Criteria) this;
        }

        public Criteria andNfPvGreaterThan(Long value) {
            addCriterion("nf_pv >", value, "nfPv");
            return (Criteria) this;
        }

        public Criteria andNfPvGreaterThanOrEqualTo(Long value) {
            addCriterion("nf_pv >=", value, "nfPv");
            return (Criteria) this;
        }

        public Criteria andNfPvLessThan(Long value) {
            addCriterion("nf_pv <", value, "nfPv");
            return (Criteria) this;
        }

        public Criteria andNfPvLessThanOrEqualTo(Long value) {
            addCriterion("nf_pv <=", value, "nfPv");
            return (Criteria) this;
        }

        public Criteria andNfPvLike(Long value) {
            addCriterion("nf_pv like", value, "nfPv");
            return (Criteria) this;
        }

        public Criteria andNfPvNotLike(Long value) {
            addCriterion("nf_pv not like", value, "nfPv");
            return (Criteria) this;
        }

        public Criteria andNfPvIn(List<Long> values) {
            addCriterion("nf_pv in", values, "nfPv");
            return (Criteria) this;
        }

        public Criteria andNfPvNotIn(List<Long> values) {
            addCriterion("nf_pv not in", values, "nfPv");
            return (Criteria) this;
        }

        public Criteria andNfPvBetween(Long value1, Long value2) {
            addCriterion("nf_pv between", value1, value2, "nfPv");
            return (Criteria) this;
        }

        public Criteria andNfPvNotBetween(Long value1, Long value2) {
            addCriterion("nf_pv not between", value1, value2, "nfPv");
            return (Criteria) this;
        }

        public Criteria andNfUvIsNull() {
            addCriterion("nf_uv is null");
            return (Criteria) this;
        }

        public Criteria andNfUvIsNotNull() {
            addCriterion("nf_uv is not null");
            return (Criteria) this;
        }

        public Criteria andNfUvEqualTo(Long value) {
            addCriterion("nf_uv =", value, "nfUv");
            return (Criteria) this;
        }

        public Criteria andNfUvNotEqualTo(Long value) {
            addCriterion("nf_uv <>", value, "nfUv");
            return (Criteria) this;
        }

        public Criteria andNfUvGreaterThan(Long value) {
            addCriterion("nf_uv >", value, "nfUv");
            return (Criteria) this;
        }

        public Criteria andNfUvGreaterThanOrEqualTo(Long value) {
            addCriterion("nf_uv >=", value, "nfUv");
            return (Criteria) this;
        }

        public Criteria andNfUvLessThan(Long value) {
            addCriterion("nf_uv <", value, "nfUv");
            return (Criteria) this;
        }

        public Criteria andNfUvLessThanOrEqualTo(Long value) {
            addCriterion("nf_uv <=", value, "nfUv");
            return (Criteria) this;
        }

        public Criteria andNfUvLike(Long value) {
            addCriterion("nf_uv like", value, "nfUv");
            return (Criteria) this;
        }

        public Criteria andNfUvNotLike(Long value) {
            addCriterion("nf_uv not like", value, "nfUv");
            return (Criteria) this;
        }

        public Criteria andNfUvIn(List<Long> values) {
            addCriterion("nf_uv in", values, "nfUv");
            return (Criteria) this;
        }

        public Criteria andNfUvNotIn(List<Long> values) {
            addCriterion("nf_uv not in", values, "nfUv");
            return (Criteria) this;
        }

        public Criteria andNfUvBetween(Long value1, Long value2) {
            addCriterion("nf_uv between", value1, value2, "nfUv");
            return (Criteria) this;
        }

        public Criteria andNfUvNotBetween(Long value1, Long value2) {
            addCriterion("nf_uv not between", value1, value2, "nfUv");
            return (Criteria) this;
        }

        public Criteria andNfClickUvIsNull() {
            addCriterion("nf_click_uv is null");
            return (Criteria) this;
        }

        public Criteria andNfClickUvIsNotNull() {
            addCriterion("nf_click_uv is not null");
            return (Criteria) this;
        }

        public Criteria andNfClickUvEqualTo(Long value) {
            addCriterion("nf_click_uv =", value, "nfClickUv");
            return (Criteria) this;
        }

        public Criteria andNfClickUvNotEqualTo(Long value) {
            addCriterion("nf_click_uv <>", value, "nfClickUv");
            return (Criteria) this;
        }

        public Criteria andNfClickUvGreaterThan(Long value) {
            addCriterion("nf_click_uv >", value, "nfClickUv");
            return (Criteria) this;
        }

        public Criteria andNfClickUvGreaterThanOrEqualTo(Long value) {
            addCriterion("nf_click_uv >=", value, "nfClickUv");
            return (Criteria) this;
        }

        public Criteria andNfClickUvLessThan(Long value) {
            addCriterion("nf_click_uv <", value, "nfClickUv");
            return (Criteria) this;
        }

        public Criteria andNfClickUvLessThanOrEqualTo(Long value) {
            addCriterion("nf_click_uv <=", value, "nfClickUv");
            return (Criteria) this;
        }

        public Criteria andNfClickUvLike(Long value) {
            addCriterion("nf_click_uv like", value, "nfClickUv");
            return (Criteria) this;
        }

        public Criteria andNfClickUvNotLike(Long value) {
            addCriterion("nf_click_uv not like", value, "nfClickUv");
            return (Criteria) this;
        }

        public Criteria andNfClickUvIn(List<Long> values) {
            addCriterion("nf_click_uv in", values, "nfClickUv");
            return (Criteria) this;
        }

        public Criteria andNfClickUvNotIn(List<Long> values) {
            addCriterion("nf_click_uv not in", values, "nfClickUv");
            return (Criteria) this;
        }

        public Criteria andNfClickUvBetween(Long value1, Long value2) {
            addCriterion("nf_click_uv between", value1, value2, "nfClickUv");
            return (Criteria) this;
        }

        public Criteria andNfClickUvNotBetween(Long value1, Long value2) {
            addCriterion("nf_click_uv not between", value1, value2, "nfClickUv");
            return (Criteria) this;
        }

        public Criteria andNfAvePvIsNull() {
            addCriterion("nf_ave_pv is null");
            return (Criteria) this;
        }

        public Criteria andNfAvePvIsNotNull() {
            addCriterion("nf_ave_pv is not null");
            return (Criteria) this;
        }

        public Criteria andNfAvePvEqualTo(java.lang.Double value) {
            addCriterion("nf_ave_pv =", value, "nfAvePv");
            return (Criteria) this;
        }

        public Criteria andNfAvePvNotEqualTo(java.lang.Double value) {
            addCriterion("nf_ave_pv <>", value, "nfAvePv");
            return (Criteria) this;
        }

        public Criteria andNfAvePvGreaterThan(java.lang.Double value) {
            addCriterion("nf_ave_pv >", value, "nfAvePv");
            return (Criteria) this;
        }

        public Criteria andNfAvePvGreaterThanOrEqualTo(java.lang.Double value) {
            addCriterion("nf_ave_pv >=", value, "nfAvePv");
            return (Criteria) this;
        }

        public Criteria andNfAvePvLessThan(java.lang.Double value) {
            addCriterion("nf_ave_pv <", value, "nfAvePv");
            return (Criteria) this;
        }

        public Criteria andNfAvePvLessThanOrEqualTo(java.lang.Double value) {
            addCriterion("nf_ave_pv <=", value, "nfAvePv");
            return (Criteria) this;
        }

        public Criteria andNfAvePvLike(java.lang.Double value) {
            addCriterion("nf_ave_pv like", value, "nfAvePv");
            return (Criteria) this;
        }

        public Criteria andNfAvePvNotLike(java.lang.Double value) {
            addCriterion("nf_ave_pv not like", value, "nfAvePv");
            return (Criteria) this;
        }

        public Criteria andNfAvePvIn(List<java.lang.Double> values) {
            addCriterion("nf_ave_pv in", values, "nfAvePv");
            return (Criteria) this;
        }

        public Criteria andNfAvePvNotIn(List<java.lang.Double> values) {
            addCriterion("nf_ave_pv not in", values, "nfAvePv");
            return (Criteria) this;
        }

        public Criteria andNfAvePvBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("nf_ave_pv between", value1, value2, "nfAvePv");
            return (Criteria) this;
        }

        public Criteria andNfAvePvNotBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("nf_ave_pv not between", value1, value2, "nfAvePv");
            return (Criteria) this;
        }

        public Criteria andNfLossRateIsNull() {
            addCriterion("nf_loss_rate is null");
            return (Criteria) this;
        }

        public Criteria andNfLossRateIsNotNull() {
            addCriterion("nf_loss_rate is not null");
            return (Criteria) this;
        }

        public Criteria andNfLossRateEqualTo(java.lang.Double value) {
            addCriterion("nf_loss_rate =", value, "nfLossRate");
            return (Criteria) this;
        }

        public Criteria andNfLossRateNotEqualTo(java.lang.Double value) {
            addCriterion("nf_loss_rate <>", value, "nfLossRate");
            return (Criteria) this;
        }

        public Criteria andNfLossRateGreaterThan(java.lang.Double value) {
            addCriterion("nf_loss_rate >", value, "nfLossRate");
            return (Criteria) this;
        }

        public Criteria andNfLossRateGreaterThanOrEqualTo(java.lang.Double value) {
            addCriterion("nf_loss_rate >=", value, "nfLossRate");
            return (Criteria) this;
        }

        public Criteria andNfLossRateLessThan(java.lang.Double value) {
            addCriterion("nf_loss_rate <", value, "nfLossRate");
            return (Criteria) this;
        }

        public Criteria andNfLossRateLessThanOrEqualTo(java.lang.Double value) {
            addCriterion("nf_loss_rate <=", value, "nfLossRate");
            return (Criteria) this;
        }

        public Criteria andNfLossRateLike(java.lang.Double value) {
            addCriterion("nf_loss_rate like", value, "nfLossRate");
            return (Criteria) this;
        }

        public Criteria andNfLossRateNotLike(java.lang.Double value) {
            addCriterion("nf_loss_rate not like", value, "nfLossRate");
            return (Criteria) this;
        }

        public Criteria andNfLossRateIn(List<java.lang.Double> values) {
            addCriterion("nf_loss_rate in", values, "nfLossRate");
            return (Criteria) this;
        }

        public Criteria andNfLossRateNotIn(List<java.lang.Double> values) {
            addCriterion("nf_loss_rate not in", values, "nfLossRate");
            return (Criteria) this;
        }

        public Criteria andNfLossRateBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("nf_loss_rate between", value1, value2, "nfLossRate");
            return (Criteria) this;
        }

        public Criteria andNfLossRateNotBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("nf_loss_rate not between", value1, value2, "nfLossRate");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvIsNull() {
            addCriterion("total_old_uv is null");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvIsNotNull() {
            addCriterion("total_old_uv is not null");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvEqualTo(Long value) {
            addCriterion("total_old_uv =", value, "totalOldUv");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvNotEqualTo(Long value) {
            addCriterion("total_old_uv <>", value, "totalOldUv");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvGreaterThan(Long value) {
            addCriterion("total_old_uv >", value, "totalOldUv");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvGreaterThanOrEqualTo(Long value) {
            addCriterion("total_old_uv >=", value, "totalOldUv");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvLessThan(Long value) {
            addCriterion("total_old_uv <", value, "totalOldUv");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvLessThanOrEqualTo(Long value) {
            addCriterion("total_old_uv <=", value, "totalOldUv");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvLike(Long value) {
            addCriterion("total_old_uv like", value, "totalOldUv");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvNotLike(Long value) {
            addCriterion("total_old_uv not like", value, "totalOldUv");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvIn(List<Long> values) {
            addCriterion("total_old_uv in", values, "totalOldUv");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvNotIn(List<Long> values) {
            addCriterion("total_old_uv not in", values, "totalOldUv");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvBetween(Long value1, Long value2) {
            addCriterion("total_old_uv between", value1, value2, "totalOldUv");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvNotBetween(Long value1, Long value2) {
            addCriterion("total_old_uv not between", value1, value2, "totalOldUv");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvIsNull() {
            addCriterion("total_new_uv is null");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvIsNotNull() {
            addCriterion("total_new_uv is not null");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvEqualTo(Long value) {
            addCriterion("total_new_uv =", value, "totalNewUv");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvNotEqualTo(Long value) {
            addCriterion("total_new_uv <>", value, "totalNewUv");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvGreaterThan(Long value) {
            addCriterion("total_new_uv >", value, "totalNewUv");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvGreaterThanOrEqualTo(Long value) {
            addCriterion("total_new_uv >=", value, "totalNewUv");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvLessThan(Long value) {
            addCriterion("total_new_uv <", value, "totalNewUv");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvLessThanOrEqualTo(Long value) {
            addCriterion("total_new_uv <=", value, "totalNewUv");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvLike(Long value) {
            addCriterion("total_new_uv like", value, "totalNewUv");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvNotLike(Long value) {
            addCriterion("total_new_uv not like", value, "totalNewUv");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvIn(List<Long> values) {
            addCriterion("total_new_uv in", values, "totalNewUv");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvNotIn(List<Long> values) {
            addCriterion("total_new_uv not in", values, "totalNewUv");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvBetween(Long value1, Long value2) {
            addCriterion("total_new_uv between", value1, value2, "totalNewUv");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvNotBetween(Long value1, Long value2) {
            addCriterion("total_new_uv not between", value1, value2, "totalNewUv");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvRateIsNull() {
            addCriterion("total_old_uv_rate is null");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvRateIsNotNull() {
            addCriterion("total_old_uv_rate is not null");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvRateEqualTo(java.lang.Double value) {
            addCriterion("total_old_uv_rate =", value, "totalOldUvRate");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvRateNotEqualTo(java.lang.Double value) {
            addCriterion("total_old_uv_rate <>", value, "totalOldUvRate");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvRateGreaterThan(java.lang.Double value) {
            addCriterion("total_old_uv_rate >", value, "totalOldUvRate");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvRateGreaterThanOrEqualTo(java.lang.Double value) {
            addCriterion("total_old_uv_rate >=", value, "totalOldUvRate");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvRateLessThan(java.lang.Double value) {
            addCriterion("total_old_uv_rate <", value, "totalOldUvRate");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvRateLessThanOrEqualTo(java.lang.Double value) {
            addCriterion("total_old_uv_rate <=", value, "totalOldUvRate");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvRateLike(java.lang.Double value) {
            addCriterion("total_old_uv_rate like", value, "totalOldUvRate");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvRateNotLike(java.lang.Double value) {
            addCriterion("total_old_uv_rate not like", value, "totalOldUvRate");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvRateIn(List<java.lang.Double> values) {
            addCriterion("total_old_uv_rate in", values, "totalOldUvRate");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvRateNotIn(List<java.lang.Double> values) {
            addCriterion("total_old_uv_rate not in", values, "totalOldUvRate");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvRateBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("total_old_uv_rate between", value1, value2, "totalOldUvRate");
            return (Criteria) this;
        }

        public Criteria andTotalOldUvRateNotBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("total_old_uv_rate not between", value1, value2, "totalOldUvRate");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvRateIsNull() {
            addCriterion("total_new_uv_rate is null");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvRateIsNotNull() {
            addCriterion("total_new_uv_rate is not null");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvRateEqualTo(java.lang.Double value) {
            addCriterion("total_new_uv_rate =", value, "totalNewUvRate");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvRateNotEqualTo(java.lang.Double value) {
            addCriterion("total_new_uv_rate <>", value, "totalNewUvRate");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvRateGreaterThan(java.lang.Double value) {
            addCriterion("total_new_uv_rate >", value, "totalNewUvRate");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvRateGreaterThanOrEqualTo(java.lang.Double value) {
            addCriterion("total_new_uv_rate >=", value, "totalNewUvRate");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvRateLessThan(java.lang.Double value) {
            addCriterion("total_new_uv_rate <", value, "totalNewUvRate");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvRateLessThanOrEqualTo(java.lang.Double value) {
            addCriterion("total_new_uv_rate <=", value, "totalNewUvRate");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvRateLike(java.lang.Double value) {
            addCriterion("total_new_uv_rate like", value, "totalNewUvRate");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvRateNotLike(java.lang.Double value) {
            addCriterion("total_new_uv_rate not like", value, "totalNewUvRate");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvRateIn(List<java.lang.Double> values) {
            addCriterion("total_new_uv_rate in", values, "totalNewUvRate");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvRateNotIn(List<java.lang.Double> values) {
            addCriterion("total_new_uv_rate not in", values, "totalNewUvRate");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvRateBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("total_new_uv_rate between", value1, value2, "totalNewUvRate");
            return (Criteria) this;
        }

        public Criteria andTotalNewUvRateNotBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("total_new_uv_rate not between", value1, value2, "totalNewUvRate");
            return (Criteria) this;
        }

    }

    /**
     * This class corresponds to the database table bi_total_home_data
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class corresponds to the database table bi_total_home_data
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}